package com.phiture.erp.basic.web.convert;

import com.phiture.erp.basic.api.pojo.resp.ErpAccountResp;
import com.phiture.erp.basic.api.pojo.resp.ErpSupplierResp;
import com.phiture.erp.basic.dal.entity.ErpAccountDO;
import com.phiture.erp.basic.dal.entity.ErpSupplierDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author YH
 * @date 2025/4/8
 */

@Mapper
public interface ErpAccountConvertMapper {
    ErpAccountConvertMapper INSTANCE = Mappers.getMapper(ErpAccountConvertMapper.class);
    ErpAccountResp toErpAccountResp(ErpAccountDO erpAccountDO);

    List<ErpAccountResp> toErpAccountRespList(List<ErpAccountDO> accountDOList);
}
